package com.yax.mickey.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 排队信息表
 * @TableName queue
 */
@TableName(value ="queue")
@Data
public class Queue implements Serializable {
    /**
     * 排队号ID，主键，自增
     */
    @TableId(type = IdType.AUTO)
    private Integer queueId;

    /**
     * 订单ID
     */
    private Integer orderId;

    /**
     * 排队号，不能为空
     */
    private Integer queueNumber;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}